package website.haicheng.cloudauth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import website.haicheng.cloudauth.entity.RoleMenu;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 582895699@qq.com
 * @since 2021-02-10
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    void batchInsertRolePermissions(List<RoleMenu> list);

    Set<Long> listPermissionIds(long roleId);
}
